<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>ShipCAD: ShipCADlib/subdivedge.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ShipCAD
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_f0b6ef187c5b1483641b038f81654ac4.html">ShipCADlib</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">subdivedge.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="subdivedge_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*###############################################################################################</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> *    ShipCAD                                           *</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *    Copyright 2015, by Greg Green &lt;ggreen@bit-builder.com&gt;                    *</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *    Original Copyright header below                               *</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *                                              *</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> *    This code is distributed as part of the FREE!ship project. FREE!ship is an                *</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> *    open source surface-modelling program based on subdivision surfaces and intended for      *</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *    designing ships.                                                                          *</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> *                                                                                              *</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> *    Copyright © 2005, by Martijn van Engeland                                                 *</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> *    e-mail                  : Info@FREEship.org                                               *</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> *    FREE!ship project page  : https://sourceforge.net/projects/freeship                       *</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> *    FREE!ship homepage      : www.FREEship.org                                                *</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> *                                                                                              *</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> *    This program is free software; you can redistribute it and/or modify it under             *</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> *    the terms of the GNU General Public License as published by the                           *</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> *    Free Software Foundation; either version 2 of the License, or (at your option)            *</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> *    any later version.                                                                        *</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> *                                                                                              *</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> *    This program is distributed in the hope that it will be useful, but WITHOUT ANY           *</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> *    WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A           *</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> *    PARTICULAR PURPOSE. See the GNU General Public License for more details.                  *</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> *                                                                                              *</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment"> *    You should have received a copy of the GNU General Public License along with              *</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment"> *    this program; if not, write to the Free Software Foundation, Inc.,                        *</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment"> *    59 Temple Place, Suite 330, Boston, MA 02111-1307 USA                                     *</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment"> *                                                                                              *</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment"> *##############################################################################################*/</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#ifndef SUBDIVEDGE_H_</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#define SUBDIVEDGE_H_</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#include &lt;iosfwd&gt;</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor">#include &lt;QObject&gt;</span></div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor">#include &lt;QColor&gt;</span></div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="subdivbase_8h.html">subdivbase.h</a>&quot;</span></div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceShipCAD.html">ShipCAD</a> {</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="keyword">class </span>SubdivisionPoint;</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="keyword">class </span>SubdivisionControlPoint;</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="keyword">class </span>SubdivisionControlCurve;</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="keyword">class </span>SubdivisionFace;</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="keyword">class </span>Viewport;</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="keyword">class </span>LineShader;</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="keyword">class </span>FileBuffer;</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">bool</span> <a class="code" href="namespaceShipCAD.html#ad5a157bd082e37a863f05b7c54a1d7cc">g_edge_verbose</a>;</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionEdge.html">   54</a></span>&#160;<span class="keyword">class </span><a class="code" href="classShipCAD_1_1SubdivisionEdge.html">SubdivisionEdge</a> : <span class="keyword">public</span> <a class="code" href="classShipCAD_1_1SubdivisionBase.html">SubdivisionBase</a></div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;{</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#ab08271ed7f5d371f0495d8a7d2c96dae">SubdivisionEdge</a>(<a class="code" href="classShipCAD_1_1SubdivisionSurface.html">SubdivisionSurface</a>* owner);</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#ac787ad1a0228f91038de9518ad217364">~SubdivisionEdge</a>();</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#a08358ac65c2d710855b8b93c64ce9d02">clear</a>();</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#a26deda12672fa679b49b28f2371e728b">draw</a>(<span class="keywordtype">bool</span> draw_mirror, <a class="code" href="classShipCAD_1_1Viewport.html">Viewport</a>&amp; vp, <a class="code" href="classShipCAD_1_1LineShader.html">LineShader</a>* lineshader,</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;                      <span class="keyword">const</span> QColor&amp; edgeColor);</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    <span class="keywordtype">float</span> <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#a6b1e2c1ed917c6d8faf4d571446f3f7d">distanceToEdge</a>(<span class="keyword">const</span> QVector3D&amp; pt, <span class="keyword">const</span> QVector3D&amp; dir) <span class="keyword">const</span>;</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    </div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    <span class="comment">// modifiers</span></div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#a1b2e2b1d7e051d42250c0ad1f5eaa560">addFace</a>(<a class="code" href="classShipCAD_1_1SubdivisionFace.html">SubdivisionFace</a>* face);</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#a847a6c74d35e25fdcb46ea8b7a989836">assign</a>(<a class="code" href="classShipCAD_1_1SubdivisionEdge.html">SubdivisionEdge</a>* edge);</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionPoint.html">SubdivisionPoint</a>* <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#aa1bce1c13f4911839205e812cfd0f683">calculateEdgePoint</a>();</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#a1f4b70ab6d0c4dfec07a2d4348bc9a3e">deleteFace</a>(<a class="code" href="classShipCAD_1_1SubdivisionFace.html">SubdivisionFace</a>* face);</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#ad19ddea08367fa2307e131132e36c008">swapData</a>();</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    <span class="comment">// getters/setters</span></div><div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionEdge.html#aa6e28532f3ecc1610813844dfb385deb">   75</a></span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionPoint.html">SubdivisionPoint</a>* <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#aa6e28532f3ecc1610813844dfb385deb">startPoint</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#a55519f9d615d6bd701c10c48259525ac">_points</a>[0]; }</div><div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionEdge.html#aa65e2e10929c52fd05b6bb90317977dc">   76</a></span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionPoint.html">SubdivisionPoint</a>* <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#aa65e2e10929c52fd05b6bb90317977dc">endPoint</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#a55519f9d615d6bd701c10c48259525ac">_points</a>[1]; }</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#ae1b7c9b23301bed5ce49abae834bd0f0">isBoundaryEdge</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionEdge.html#afcf8f9f766c80cd90045194cde86d4c8">   78</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#afcf8f9f766c80cd90045194cde86d4c8">isControlEdge</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#ae933ee4901a7964ca50a83edad44e8ec">_control_edge</a>; }</div><div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionEdge.html#af48a9311daf8f3607e181922162e8c7b">   79</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#af48a9311daf8f3607e181922162e8c7b">setControlEdge</a>(<span class="keywordtype">bool</span> val) { <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#ae933ee4901a7964ca50a83edad44e8ec">_control_edge</a> = val; }</div><div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionEdge.html#ac4004284f7ab47437b9a1fe7adbde70d">   80</a></span>&#160;    <span class="keywordtype">size_t</span> <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#ac4004284f7ab47437b9a1fe7adbde70d">numberOfFaces</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#aa1da730fcb3ac49c92e803a0b336d855">_faces</a>.size(); }</div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionEdge.html#ae649fe7169f64a8e5ede1fbb36a176fa">   81</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#ae649fe7169f64a8e5ede1fbb36a176fa">isCrease</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#a9ea4714611e4970cf5e4014304a20190">_crease</a>; }</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#ad0313b8844a81c5802533376a09fce99">setCrease</a>(<span class="keywordtype">bool</span> val);</div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionEdge.html#a46dd1e0aab4ca8b64c5db56d1796dd8e">   83</a></span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html">SubdivisionControlCurve</a>* <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#a46dd1e0aab4ca8b64c5db56d1796dd8e">getCurve</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#a1863a7ef84b2d73f0e1407f3536bbc9f">_curve</a>; }</div><div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionEdge.html#a445c08836100060818c129ea7c694234">   84</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#a445c08836100060818c129ea7c694234">setCurve</a>(<a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html">SubdivisionControlCurve</a>* curve) { <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#a1863a7ef84b2d73f0e1407f3536bbc9f">_curve</a> = curve; }</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionFace.html">SubdivisionFace</a>* <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#afe3de434f13adfde22f2c209197902de">getFace</a>(<span class="keywordtype">size_t</span> index) <span class="keyword">const</span>;</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#acbadf30c024c432571304aa4b787036b">hasFace</a>(<span class="keyword">const</span> <a class="code" href="classShipCAD_1_1SubdivisionFace.html">SubdivisionFace</a>* face) <span class="keyword">const</span>;</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionEdge.html">SubdivisionEdge</a>* <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#a7c1fe2cad6e7b8a0e532768b4a395137">getPreviousEdge</a>();</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionEdge.html">SubdivisionEdge</a>* <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#aebb50514ff119a1484f7c7505a527a2b">getNextEdge</a>();</div><div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionEdge.html#ab86e4ccfa750684432c228ea2cc991ff">   89</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#ab86e4ccfa750684432c228ea2cc991ff">setPoints</a>(<a class="code" href="classShipCAD_1_1SubdivisionPoint.html">SubdivisionPoint</a>* p1, <a class="code" href="classShipCAD_1_1SubdivisionPoint.html">SubdivisionPoint</a>* p2)</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;        { <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#a55519f9d615d6bd701c10c48259525ac">_points</a>[0] = p1; <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#a55519f9d615d6bd701c10c48259525ac">_points</a>[1] = p2; }</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    <span class="comment">// output</span></div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#a14cc58877644ebd7b7ebffbdf8ef87f7">dump</a>(std::ostream&amp; os, <span class="keyword">const</span> <span class="keywordtype">char</span>* prefix = <span class="stringliteral">&quot;&quot;</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    <span class="comment">// makers</span></div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;    <span class="keyword">static</span> <a class="code" href="classShipCAD_1_1SubdivisionEdge.html">SubdivisionEdge</a>* <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#ac2e94f4689d724a1d5b75c7f2619c37d">construct</a>(<a class="code" href="classShipCAD_1_1SubdivisionSurface.html">SubdivisionSurface</a>* owner);</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#a8b33f4ae9edbd8ac4a386d9f5f5c1131">priv_dump</a>(std::ostream&amp; os, <span class="keyword">const</span> <span class="keywordtype">char</span>* prefix) <span class="keyword">const</span>;</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;</div><div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionEdge.html#a55519f9d615d6bd701c10c48259525ac">  104</a></span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionPoint.html">SubdivisionPoint</a>* <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#a55519f9d615d6bd701c10c48259525ac">_points</a>[2];</div><div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionEdge.html#aa1da730fcb3ac49c92e803a0b336d855">  105</a></span>&#160;    std::vector&lt;SubdivisionFace*&gt; <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#aa1da730fcb3ac49c92e803a0b336d855">_faces</a>;</div><div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionEdge.html#a9ea4714611e4970cf5e4014304a20190">  106</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#a9ea4714611e4970cf5e4014304a20190">_crease</a>;</div><div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionEdge.html#ae933ee4901a7964ca50a83edad44e8ec">  107</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#ae933ee4901a7964ca50a83edad44e8ec">_control_edge</a>;</div><div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionEdge.html#a1863a7ef84b2d73f0e1407f3536bbc9f">  108</a></span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionControlCurve.html">SubdivisionControlCurve</a>* <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#a1863a7ef84b2d73f0e1407f3536bbc9f">_curve</a>;</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;};</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;</div><div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="namespaceShipCAD.html#a7767250c742ad6114e3f076743d18461">  111</a></span>&#160;<span class="keyword">typedef</span> std::vector&lt;SubdivisionEdge*&gt;::iterator <a class="code" href="namespaceShipCAD.html#a7767250c742ad6114e3f076743d18461">subdivedge_iter</a>;</div><div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="namespaceShipCAD.html#a42f420b898cf32478eeab87aa058e024">  112</a></span>&#160;<span class="keyword">typedef</span> std::vector&lt;SubdivisionEdge*&gt;::const_iterator <a class="code" href="namespaceShipCAD.html#a42f420b898cf32478eeab87aa058e024">const_subdivedge_iter</a>;</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;</div><div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlEdge.html">  116</a></span>&#160;<span class="keyword">class </span><a class="code" href="classShipCAD_1_1SubdivisionControlEdge.html">SubdivisionControlEdge</a> : <span class="keyword">public</span> <a class="code" href="classShipCAD_1_1SubdivisionEdge.html">SubdivisionEdge</a></div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;{</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classShipCAD_1_1SubdivisionControlEdge.html">SubdivisionControlEdge</a>(<a class="code" href="classShipCAD_1_1SubdivisionSurface.html">SubdivisionSurface</a>* owner);</div><div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlEdge.html#a34c09fb23ec57183f23f24041e74e455">  121</a></span>&#160;    <span class="keyword">virtual</span> <a class="code" href="classShipCAD_1_1SubdivisionControlEdge.html#a34c09fb23ec57183f23f24041e74e455">~SubdivisionControlEdge</a>() {}</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;    <span class="comment">// modifiers</span></div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;    <span class="keywordtype">void</span> removeEdge();</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;    <a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html">SubdivisionControlPoint</a>* insertControlPoint(<span class="keyword">const</span> QVector3D&amp; p);</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;    <span class="keywordtype">void</span> trace();</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;    <span class="comment">// getters/setters</span></div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;    QColor getColor() <span class="keyword">const</span>;</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#ae1b7c9b23301bed5ce49abae834bd0f0">isBoundaryEdge</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;    <span class="keywordtype">bool</span> isSelected() <span class="keyword">const</span>;</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;    <span class="keywordtype">void</span> setSelected(<span class="keywordtype">bool</span> val);</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;    <span class="keywordtype">bool</span> isVisible() <span class="keyword">const</span>;</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;    <span class="comment">// drawing</span></div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#a26deda12672fa679b49b28f2371e728b">draw</a>(<a class="code" href="classShipCAD_1_1Viewport.html">Viewport</a> &amp;vp, <a class="code" href="classShipCAD_1_1LineShader.html">LineShader</a>* lineshader);</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;    <span class="comment">// persistence</span></div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;    <span class="keywordtype">void</span> loadBinary(<a class="code" href="classShipCAD_1_1FileBuffer.html">FileBuffer</a>&amp; source);</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;    <span class="keywordtype">void</span> saveBinary(<a class="code" href="classShipCAD_1_1FileBuffer.html">FileBuffer</a>&amp; destination) <span class="keyword">const</span>;</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;    <span class="keywordtype">void</span> loadFromStream(<span class="keywordtype">size_t</span>&amp; lineno, QStringList&amp; strings);</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;    <span class="keywordtype">void</span> saveToStream(QStringList&amp; strings) <span class="keyword">const</span>;</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;    <span class="comment">// output</span></div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#a14cc58877644ebd7b7ebffbdf8ef87f7">dump</a>(std::ostream&amp; os, <span class="keyword">const</span> <span class="keywordtype">char</span>* prefix = <span class="stringliteral">&quot;&quot;</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;    <span class="comment">// makers</span></div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;    <span class="keyword">static</span> <a class="code" href="classShipCAD_1_1SubdivisionControlEdge.html">SubdivisionControlEdge</a>* <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#ac2e94f4689d724a1d5b75c7f2619c37d">construct</a>(<a class="code" href="classShipCAD_1_1SubdivisionSurface.html">SubdivisionSurface</a>* owner);</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;</div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1SubdivisionEdge.html#a8b33f4ae9edbd8ac4a386d9f5f5c1131">priv_dump</a>(std::ostream&amp; os, <span class="keyword">const</span> <span class="keywordtype">char</span>* prefix) <span class="keyword">const</span>;</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;    <span class="keywordtype">void</span> priv_trace(<a class="code" href="classShipCAD_1_1SubdivisionControlPoint.html">SubdivisionControlPoint</a>* p);</div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;</div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;</div><div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="classShipCAD_1_1SubdivisionControlEdge.html#a8d49343e2b6ff0ab13653849af242740">  157</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classShipCAD_1_1SubdivisionControlEdge.html#a8d49343e2b6ff0ab13653849af242740">_visible</a>;</div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;};</div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;</div><div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="namespaceShipCAD.html#a622b92c46380228698ff1e0e1d78aa3a">  160</a></span>&#160;<span class="keyword">typedef</span> std::vector&lt;SubdivisionControlEdge*&gt;::iterator <a class="code" href="namespaceShipCAD.html#a622b92c46380228698ff1e0e1d78aa3a">subdivctledge_iter</a>;</div><div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="namespaceShipCAD.html#af78c33b3ea7d42b713572baf86e2b01a">  161</a></span>&#160;<span class="keyword">typedef</span> std::vector&lt;SubdivisionControlEdge*&gt;::const_iterator <a class="code" href="namespaceShipCAD.html#af78c33b3ea7d42b713572baf86e2b01a">const_subdivctledge_iter</a>;</div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;</div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;};              <span class="comment">/* end namespace */</span></div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;</div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;</div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;std::ostream&amp; <a class="code" href="subdivedge_8h.html#a202b132b67c2f627ca529138155357d1">operator &lt;&lt; </a>(std::ostream&amp; os, <span class="keyword">const</span> <a class="code" href="classShipCAD_1_1SubdivisionEdge.html">ShipCAD::SubdivisionEdge</a>&amp; edge);</div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;std::ostream&amp; <a class="code" href="subdivedge_8h.html#a202b132b67c2f627ca529138155357d1">operator &lt;&lt; </a>(std::ostream&amp; os, <span class="keyword">const</span> <a class="code" href="classShipCAD_1_1SubdivisionControlEdge.html">ShipCAD::SubdivisionControlEdge</a>&amp; edge);</div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;</div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;</div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;</div><div class="ttc" id="classShipCAD_1_1SubdivisionControlPoint_html"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlPoint.html">ShipCAD::SubdivisionControlPoint</a></div><div class="ttdoc">3D Control point </div><div class="ttdef"><b>Definition:</b> <a href="subdivpoint_8h_source.html#l00208">subdivpoint.h:208</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionEdge_html_a445c08836100060818c129ea7c694234"><div class="ttname"><a href="classShipCAD_1_1SubdivisionEdge.html#a445c08836100060818c129ea7c694234">ShipCAD::SubdivisionEdge::setCurve</a></div><div class="ttdeci">void setCurve(SubdivisionControlCurve *curve)</div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8h_source.html#l00084">subdivedge.h:84</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionEdge_html_a9ea4714611e4970cf5e4014304a20190"><div class="ttname"><a href="classShipCAD_1_1SubdivisionEdge.html#a9ea4714611e4970cf5e4014304a20190">ShipCAD::SubdivisionEdge::_crease</a></div><div class="ttdeci">bool _crease</div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8h_source.html#l00106">subdivedge.h:106</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_ad5a157bd082e37a863f05b7c54a1d7cc"><div class="ttname"><a href="namespaceShipCAD.html#ad5a157bd082e37a863f05b7c54a1d7cc">ShipCAD::g_edge_verbose</a></div><div class="ttdeci">bool g_edge_verbose</div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8cpp_source.html#l00049">subdivedge.cpp:49</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionEdge_html_a46dd1e0aab4ca8b64c5db56d1796dd8e"><div class="ttname"><a href="classShipCAD_1_1SubdivisionEdge.html#a46dd1e0aab4ca8b64c5db56d1796dd8e">ShipCAD::SubdivisionEdge::getCurve</a></div><div class="ttdeci">SubdivisionControlCurve * getCurve() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8h_source.html#l00083">subdivedge.h:83</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionEdge_html_acbadf30c024c432571304aa4b787036b"><div class="ttname"><a href="classShipCAD_1_1SubdivisionEdge.html#acbadf30c024c432571304aa4b787036b">ShipCAD::SubdivisionEdge::hasFace</a></div><div class="ttdeci">bool hasFace(const SubdivisionFace *face) const </div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8cpp_source.html#l00163">subdivedge.cpp:163</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionEdge_html_afe3de434f13adfde22f2c209197902de"><div class="ttname"><a href="classShipCAD_1_1SubdivisionEdge.html#afe3de434f13adfde22f2c209197902de">ShipCAD::SubdivisionEdge::getFace</a></div><div class="ttdeci">SubdivisionFace * getFace(size_t index) const </div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8cpp_source.html#l00156">subdivedge.cpp:156</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionEdge_html_a6b1e2c1ed917c6d8faf4d571446f3f7d"><div class="ttname"><a href="classShipCAD_1_1SubdivisionEdge.html#a6b1e2c1ed917c6d8faf4d571446f3f7d">ShipCAD::SubdivisionEdge::distanceToEdge</a></div><div class="ttdeci">float distanceToEdge(const QVector3D &amp;pt, const QVector3D &amp;dir) const </div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8cpp_source.html#l00080">subdivedge.cpp:80</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionEdge_html_aa1bce1c13f4911839205e812cfd0f683"><div class="ttname"><a href="classShipCAD_1_1SubdivisionEdge.html#aa1bce1c13f4911839205e812cfd0f683">ShipCAD::SubdivisionEdge::calculateEdgePoint</a></div><div class="ttdeci">SubdivisionPoint * calculateEdgePoint()</div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8cpp_source.html#l00287">subdivedge.cpp:287</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionEdge_html"><div class="ttname"><a href="classShipCAD_1_1SubdivisionEdge.html">ShipCAD::SubdivisionEdge</a></div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8h_source.html#l00054">subdivedge.h:54</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionEdge_html_a847a6c74d35e25fdcb46ea8b7a989836"><div class="ttname"><a href="classShipCAD_1_1SubdivisionEdge.html#a847a6c74d35e25fdcb46ea8b7a989836">ShipCAD::SubdivisionEdge::assign</a></div><div class="ttdeci">void assign(SubdivisionEdge *edge)</div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionEdge_html_a8b33f4ae9edbd8ac4a386d9f5f5c1131"><div class="ttname"><a href="classShipCAD_1_1SubdivisionEdge.html#a8b33f4ae9edbd8ac4a386d9f5f5c1131">ShipCAD::SubdivisionEdge::priv_dump</a></div><div class="ttdeci">void priv_dump(std::ostream &amp;os, const char *prefix) const </div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8cpp_source.html#l00384">subdivedge.cpp:384</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_a42f420b898cf32478eeab87aa058e024"><div class="ttname"><a href="namespaceShipCAD.html#a42f420b898cf32478eeab87aa058e024">ShipCAD::const_subdivedge_iter</a></div><div class="ttdeci">std::vector&lt; SubdivisionEdge * &gt;::const_iterator const_subdivedge_iter</div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8h_source.html#l00112">subdivedge.h:112</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionEdge_html_a26deda12672fa679b49b28f2371e728b"><div class="ttname"><a href="classShipCAD_1_1SubdivisionEdge.html#a26deda12672fa679b49b28f2371e728b">ShipCAD::SubdivisionEdge::draw</a></div><div class="ttdeci">virtual void draw(bool draw_mirror, Viewport &amp;vp, LineShader *lineshader, const QColor &amp;edgeColor)</div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8cpp_source.html#l00316">subdivedge.cpp:316</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionEdge_html_ad19ddea08367fa2307e131132e36c008"><div class="ttname"><a href="classShipCAD_1_1SubdivisionEdge.html#ad19ddea08367fa2307e131132e36c008">ShipCAD::SubdivisionEdge::swapData</a></div><div class="ttdeci">void swapData()</div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8cpp_source.html#l00299">subdivedge.cpp:299</a></div></div>
<div class="ttc" id="subdivedge_8h_html_a202b132b67c2f627ca529138155357d1"><div class="ttname"><a href="subdivedge_8h.html#a202b132b67c2f627ca529138155357d1">operator&lt;&lt;</a></div><div class="ttdeci">std::ostream &amp; operator&lt;&lt;(std::ostream &amp;os, const ShipCAD::SubdivisionEdge &amp;edge)</div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8cpp_source.html#l00417">subdivedge.cpp:417</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionBase_html"><div class="ttname"><a href="classShipCAD_1_1SubdivisionBase.html">ShipCAD::SubdivisionBase</a></div><div class="ttdoc">the base class for all subdivision points, edges and faces </div><div class="ttdef"><b>Definition:</b> <a href="subdivbase_8h_source.html#l00045">subdivbase.h:45</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionEdge_html_a1f4b70ab6d0c4dfec07a2d4348bc9a3e"><div class="ttname"><a href="classShipCAD_1_1SubdivisionEdge.html#a1f4b70ab6d0c4dfec07a2d4348bc9a3e">ShipCAD::SubdivisionEdge::deleteFace</a></div><div class="ttdeci">void deleteFace(SubdivisionFace *face)</div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8cpp_source.html#l00304">subdivedge.cpp:304</a></div></div>
<div class="ttc" id="classShipCAD_1_1Viewport_html"><div class="ttname"><a href="classShipCAD_1_1Viewport.html">ShipCAD::Viewport</a></div><div class="ttdef"><b>Definition:</b> <a href="viewport_8h_source.html#l00070">viewport.h:70</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionEdge_html_a08358ac65c2d710855b8b93c64ce9d02"><div class="ttname"><a href="classShipCAD_1_1SubdivisionEdge.html#a08358ac65c2d710855b8b93c64ce9d02">ShipCAD::SubdivisionEdge::clear</a></div><div class="ttdeci">virtual void clear()</div><div class="ttdoc">reset this element to default values </div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8cpp_source.html#l00070">subdivedge.cpp:70</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionEdge_html_ab86e4ccfa750684432c228ea2cc991ff"><div class="ttname"><a href="classShipCAD_1_1SubdivisionEdge.html#ab86e4ccfa750684432c228ea2cc991ff">ShipCAD::SubdivisionEdge::setPoints</a></div><div class="ttdeci">void setPoints(SubdivisionPoint *p1, SubdivisionPoint *p2)</div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8h_source.html#l00089">subdivedge.h:89</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionEdge_html_ac4004284f7ab47437b9a1fe7adbde70d"><div class="ttname"><a href="classShipCAD_1_1SubdivisionEdge.html#ac4004284f7ab47437b9a1fe7adbde70d">ShipCAD::SubdivisionEdge::numberOfFaces</a></div><div class="ttdeci">size_t numberOfFaces() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8h_source.html#l00080">subdivedge.h:80</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlEdge_html_a8d49343e2b6ff0ab13653849af242740"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlEdge.html#a8d49343e2b6ff0ab13653849af242740">ShipCAD::SubdivisionControlEdge::_visible</a></div><div class="ttdeci">bool _visible</div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8h_source.html#l00157">subdivedge.h:157</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlEdge_html_a34c09fb23ec57183f23f24041e74e455"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlEdge.html#a34c09fb23ec57183f23f24041e74e455">ShipCAD::SubdivisionControlEdge::~SubdivisionControlEdge</a></div><div class="ttdeci">virtual ~SubdivisionControlEdge()</div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8h_source.html#l00121">subdivedge.h:121</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionEdge_html_a55519f9d615d6bd701c10c48259525ac"><div class="ttname"><a href="classShipCAD_1_1SubdivisionEdge.html#a55519f9d615d6bd701c10c48259525ac">ShipCAD::SubdivisionEdge::_points</a></div><div class="ttdeci">SubdivisionPoint * _points[2]</div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8h_source.html#l00104">subdivedge.h:104</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionFace_html"><div class="ttname"><a href="classShipCAD_1_1SubdivisionFace.html">ShipCAD::SubdivisionFace</a></div><div class="ttdef"><b>Definition:</b> <a href="subdivface_8h_source.html#l00058">subdivface.h:58</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionEdge_html_ab08271ed7f5d371f0495d8a7d2c96dae"><div class="ttname"><a href="classShipCAD_1_1SubdivisionEdge.html#ab08271ed7f5d371f0495d8a7d2c96dae">ShipCAD::SubdivisionEdge::SubdivisionEdge</a></div><div class="ttdeci">SubdivisionEdge(SubdivisionSurface *owner)</div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8cpp_source.html#l00059">subdivedge.cpp:59</a></div></div>
<div class="ttc" id="subdivbase_8h_html"><div class="ttname"><a href="subdivbase_8h.html">subdivbase.h</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionEdge_html_a1863a7ef84b2d73f0e1407f3536bbc9f"><div class="ttname"><a href="classShipCAD_1_1SubdivisionEdge.html#a1863a7ef84b2d73f0e1407f3536bbc9f">ShipCAD::SubdivisionEdge::_curve</a></div><div class="ttdeci">SubdivisionControlCurve * _curve</div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8h_source.html#l00108">subdivedge.h:108</a></div></div>
<div class="ttc" id="classShipCAD_1_1FileBuffer_html"><div class="ttname"><a href="classShipCAD_1_1FileBuffer.html">ShipCAD::FileBuffer</a></div><div class="ttdoc">in-memory buffer for a binary file (FREE!Ship format) </div><div class="ttdef"><b>Definition:</b> <a href="filebuffer_8h_source.html#l00052">filebuffer.h:52</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_a7767250c742ad6114e3f076743d18461"><div class="ttname"><a href="namespaceShipCAD.html#a7767250c742ad6114e3f076743d18461">ShipCAD::subdivedge_iter</a></div><div class="ttdeci">std::vector&lt; SubdivisionEdge * &gt;::iterator subdivedge_iter</div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8h_source.html#l00111">subdivedge.h:111</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionEdge_html_ad0313b8844a81c5802533376a09fce99"><div class="ttname"><a href="classShipCAD_1_1SubdivisionEdge.html#ad0313b8844a81c5802533376a09fce99">ShipCAD::SubdivisionEdge::setCrease</a></div><div class="ttdeci">void setCrease(bool val)</div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8cpp_source.html#l00168">subdivedge.cpp:168</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlEdge_html"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlEdge.html">ShipCAD::SubdivisionControlEdge</a></div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8h_source.html#l00116">subdivedge.h:116</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionEdge_html_ac2e94f4689d724a1d5b75c7f2619c37d"><div class="ttname"><a href="classShipCAD_1_1SubdivisionEdge.html#ac2e94f4689d724a1d5b75c7f2619c37d">ShipCAD::SubdivisionEdge::construct</a></div><div class="ttdeci">static SubdivisionEdge * construct(SubdivisionSurface *owner)</div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8cpp_source.html#l00053">subdivedge.cpp:53</a></div></div>
<div class="ttc" id="classShipCAD_1_1LineShader_html"><div class="ttname"><a href="classShipCAD_1_1LineShader.html">ShipCAD::LineShader</a></div><div class="ttdef"><b>Definition:</b> <a href="shader_8h_source.html#l00075">shader.h:75</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionEdge_html_aa6e28532f3ecc1610813844dfb385deb"><div class="ttname"><a href="classShipCAD_1_1SubdivisionEdge.html#aa6e28532f3ecc1610813844dfb385deb">ShipCAD::SubdivisionEdge::startPoint</a></div><div class="ttdeci">SubdivisionPoint * startPoint() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8h_source.html#l00075">subdivedge.h:75</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionEdge_html_ae649fe7169f64a8e5ede1fbb36a176fa"><div class="ttname"><a href="classShipCAD_1_1SubdivisionEdge.html#ae649fe7169f64a8e5ede1fbb36a176fa">ShipCAD::SubdivisionEdge::isCrease</a></div><div class="ttdeci">bool isCrease() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8h_source.html#l00081">subdivedge.h:81</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionEdge_html_ae1b7c9b23301bed5ce49abae834bd0f0"><div class="ttname"><a href="classShipCAD_1_1SubdivisionEdge.html#ae1b7c9b23301bed5ce49abae834bd0f0">ShipCAD::SubdivisionEdge::isBoundaryEdge</a></div><div class="ttdeci">virtual bool isBoundaryEdge() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8cpp_source.html#l00149">subdivedge.cpp:149</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionEdge_html_ac787ad1a0228f91038de9518ad217364"><div class="ttname"><a href="classShipCAD_1_1SubdivisionEdge.html#ac787ad1a0228f91038de9518ad217364">ShipCAD::SubdivisionEdge::~SubdivisionEdge</a></div><div class="ttdeci">virtual ~SubdivisionEdge()</div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8cpp_source.html#l00065">subdivedge.cpp:65</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionEdge_html_aebb50514ff119a1484f7c7505a527a2b"><div class="ttname"><a href="classShipCAD_1_1SubdivisionEdge.html#aebb50514ff119a1484f7c7505a527a2b">ShipCAD::SubdivisionEdge::getNextEdge</a></div><div class="ttdeci">SubdivisionEdge * getNextEdge()</div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8cpp_source.html#l00251">subdivedge.cpp:251</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_af78c33b3ea7d42b713572baf86e2b01a"><div class="ttname"><a href="namespaceShipCAD.html#af78c33b3ea7d42b713572baf86e2b01a">ShipCAD::const_subdivctledge_iter</a></div><div class="ttdeci">std::vector&lt; SubdivisionControlEdge * &gt;::const_iterator const_subdivctledge_iter</div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8h_source.html#l00161">subdivedge.h:161</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionEdge_html_ae933ee4901a7964ca50a83edad44e8ec"><div class="ttname"><a href="classShipCAD_1_1SubdivisionEdge.html#ae933ee4901a7964ca50a83edad44e8ec">ShipCAD::SubdivisionEdge::_control_edge</a></div><div class="ttdeci">bool _control_edge</div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8h_source.html#l00107">subdivedge.h:107</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionEdge_html_afcf8f9f766c80cd90045194cde86d4c8"><div class="ttname"><a href="classShipCAD_1_1SubdivisionEdge.html#afcf8f9f766c80cd90045194cde86d4c8">ShipCAD::SubdivisionEdge::isControlEdge</a></div><div class="ttdeci">bool isControlEdge() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8h_source.html#l00078">subdivedge.h:78</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionEdge_html_af48a9311daf8f3607e181922162e8c7b"><div class="ttname"><a href="classShipCAD_1_1SubdivisionEdge.html#af48a9311daf8f3607e181922162e8c7b">ShipCAD::SubdivisionEdge::setControlEdge</a></div><div class="ttdeci">void setControlEdge(bool val)</div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8h_source.html#l00079">subdivedge.h:79</a></div></div>
<div class="ttc" id="namespaceShipCAD_html"><div class="ttname"><a href="namespaceShipCAD.html">ShipCAD</a></div><div class="ttdef"><b>Definition:</b> <a href="backgroundimage_8h_source.html#l00039">backgroundimage.h:39</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_a622b92c46380228698ff1e0e1d78aa3a"><div class="ttname"><a href="namespaceShipCAD.html#a622b92c46380228698ff1e0e1d78aa3a">ShipCAD::subdivctledge_iter</a></div><div class="ttdeci">std::vector&lt; SubdivisionControlEdge * &gt;::iterator subdivctledge_iter</div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8h_source.html#l00160">subdivedge.h:160</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionEdge_html_a1b2e2b1d7e051d42250c0ad1f5eaa560"><div class="ttname"><a href="classShipCAD_1_1SubdivisionEdge.html#a1b2e2b1d7e051d42250c0ad1f5eaa560">ShipCAD::SubdivisionEdge::addFace</a></div><div class="ttdeci">void addFace(SubdivisionFace *face)</div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8cpp_source.html#l00281">subdivedge.cpp:281</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionControlCurve_html"><div class="ttname"><a href="classShipCAD_1_1SubdivisionControlCurve.html">ShipCAD::SubdivisionControlCurve</a></div><div class="ttdef"><b>Definition:</b> <a href="subdivcontrolcurve_8h_source.html#l00056">subdivcontrolcurve.h:56</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionEdge_html_a7c1fe2cad6e7b8a0e532768b4a395137"><div class="ttname"><a href="classShipCAD_1_1SubdivisionEdge.html#a7c1fe2cad6e7b8a0e532768b4a395137">ShipCAD::SubdivisionEdge::getPreviousEdge</a></div><div class="ttdeci">SubdivisionEdge * getPreviousEdge()</div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8cpp_source.html#l00221">subdivedge.cpp:221</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionPoint_html"><div class="ttname"><a href="classShipCAD_1_1SubdivisionPoint.html">ShipCAD::SubdivisionPoint</a></div><div class="ttdoc">3D Point </div><div class="ttdef"><b>Definition:</b> <a href="subdivpoint_8h_source.html#l00059">subdivpoint.h:59</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionEdge_html_a14cc58877644ebd7b7ebffbdf8ef87f7"><div class="ttname"><a href="classShipCAD_1_1SubdivisionEdge.html#a14cc58877644ebd7b7ebffbdf8ef87f7">ShipCAD::SubdivisionEdge::dump</a></div><div class="ttdeci">virtual void dump(std::ostream &amp;os, const char *prefix=&quot;&quot;) const </div><div class="ttdoc">print out the element to a stream </div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8cpp_source.html#l00376">subdivedge.cpp:376</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionSurface_html"><div class="ttname"><a href="classShipCAD_1_1SubdivisionSurface.html">ShipCAD::SubdivisionSurface</a></div><div class="ttdoc">Subdivision Surface. </div><div class="ttdef"><b>Definition:</b> <a href="subdivsurface_8h_source.html#l00103">subdivsurface.h:103</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionEdge_html_aa65e2e10929c52fd05b6bb90317977dc"><div class="ttname"><a href="classShipCAD_1_1SubdivisionEdge.html#aa65e2e10929c52fd05b6bb90317977dc">ShipCAD::SubdivisionEdge::endPoint</a></div><div class="ttdeci">SubdivisionPoint * endPoint() const </div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8h_source.html#l00076">subdivedge.h:76</a></div></div>
<div class="ttc" id="classShipCAD_1_1SubdivisionEdge_html_aa1da730fcb3ac49c92e803a0b336d855"><div class="ttname"><a href="classShipCAD_1_1SubdivisionEdge.html#aa1da730fcb3ac49c92e803a0b336d855">ShipCAD::SubdivisionEdge::_faces</a></div><div class="ttdeci">std::vector&lt; SubdivisionFace * &gt; _faces</div><div class="ttdef"><b>Definition:</b> <a href="subdivedge_8h_source.html#l00105">subdivedge.h:105</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Feb 25 2018 15:36:00 for ShipCAD by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
